package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.entity.QueryOrder;
import com.itheima.pojo.Address;
import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderSettingListMapper {

    Page<Order> selectByCondition(QueryOrder queryOrder);

    void changeStatus(Map map);

    int findOrderCountByNameAndDate(Map<String, Object> nameAndDate);

    List<Integer> findById(int id);

    void edit(Order order);

    Address findAddressByOrderId(Integer id);

    List<Address> findAllAddress();

    Address findAddressById(Integer addressIds);

    void addAddressAssociation(Map map1);

    List<Integer> findAddressIdByOrderId(int id);

    int findOrderAndAddress(Integer order_id);

    void editOrderAndAddress(Map map3);

    void delete(int id);

    void deleteById(int id);

    int CountInterventionId(int id);

    void deleteInfoById(int id);

    int findInterventionId(int id);
}
